package top.yuyufeng.mbuy.dto;

import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * @author yuyufeng7
 */
@Data
public class CartDTO {
    private Integer id;

    private Integer userId;

    private Integer productId;

    private Integer quantity;

    /**
     * 是否选择 1-已选择，0-未选择
     */
    private Integer checked;

    private Date createTime;

    private Date updateTime;

    /**
     * 商品信息
     */
    private Integer categoryId;


    private String name;

    private String subtitle;

    private String mainImage;

    /**
     * json格式，用户扩展
     */
    private String subImage;

    private String detail;

    private BigDecimal price;

    /**
     * 库存
     */
    private Integer stock;

    /**
     * 商品状态 1-在售 2-下架 3-删除
     */
    private Integer status;

    private Integer shippingId;


}